package org.example.hotel.repository;

import org.example.hotel.entity.UsageRecord;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UsageRecordRepository extends JpaRepository<UsageRecord, Long> {
    List<UsageRecord> findByRoomId(int roomId);
}
